package org.arkeologgr.appening.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Column;
import static javax.persistence.CascadeType.ALL;

@Entity
public class ItemDetails {

	@Id
	@OneToOne(cascade = ALL)
	private Item item;

	@Column(length = 4096)
	private String description;

	private String imageUrl;
	
	public void setItem(Item item) {
		this.item = item;
	}

	public Item getItem() {
		return item;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDescription() {
		return description;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getImageUrl() {
		return imageUrl;
	}
	
	
	
}
